Resolves this problem by resetting the signal mask and putting the process to sleep in a single atomic operation 通过重置信号掩码并使进程休眠一个单一的原子操作来解决这一问题。
By using signal sets and a signal mask , the critical region of code can be protected from a specific set of signals , as follows 通过使用信号设置和信号掩码,代码的关键区域可以被保护起来不受一组特定信号的影响,如下:
Signals are the easiest to implement , but in a multi - threaded environment , care has to be taken that all the threads spawned have similar signal masks 信号是最容易实现的,但是在多线程环境中必须要小心,因为派生的所有线程都具有类似的信号掩码( signal mask ) 。
It is possible that threads are spawned in a process by other participating entities outside the control of the application and it might not be possible to control their signal masks 线程可能是由不受应用程序控制的其他参与实体在进程中派生的,这个应用程序可能不能控制它们的信号掩码。
signal: n. 1.信号,暗号;信号器。 2.动机,导火线 (fo ...mask: n. 1.假面具,伪装,掩蔽物;面罩;防毒面具(= ga ...mask image signal: 图像化装信号mask signal generator: 屏蔽信号发生器; 遮蔽信号发生器signal to mask ratio: 信噪比mask: n. 1.假面具,伪装,掩蔽物;面罩;防毒面具(= gas mask);【物理学】掩模;(劈剑,棒球等用)护面;(用蜡等从死人面部模制成的)蜡模遗容(= deathmask)。 2.口实;掩饰。 3.假面跳舞会;戴假面者;假面战。 4.(纪念打猎的)狐头,狐面。 5.(筑城)遮障,掩蔽角面堡;【印刷】蒙片;【摄影】蔽光框。 6.【计算机】时标,时间标志。 a flu mask 防感冒戴的口罩;卫生口罩。 assume [put on, wear] the mask 戴假面具,掩盖真面目。 drop [pull off, throw off] the mask 摘下假面具;现出本来面目。 under the mask of 假托,在…假面具下。 vt. 1.在(脸)上戴假面具;化装。 2.蒙蔽,遮蔽,隐,覆;【军事】掩蔽,隐蔽(兵力、炮位);掩护;(因逼近敌方)妨碍(友军)炮火射程;【印刷】(制版时)用蒙片修正(底片色调);【摄影】用蔽光框修改(照相的大小、形状等)。 vi. 戴假面具;化装;参加化装舞会。 We could not fire, as we were masked by our first line. 第一线挡住,我们无法射击。 mask with: 用...罩位; 用使一种味道不被察觉mask,the: 摩登大圣the mask: 变相怪杰1; 变相怪杰摩登大圣; 假脸; 蒙面怪杰; 面具; 摩登大圣chrome mask; chromium mask: 铬掩模half mask small mask: 半截面罩mask-to-mask resuscitator: 面罩对面罩复苏器if signal: 中频信号no signal: 无信号on signal: 开通信号; 启动信号signal: n. 1.信号,暗号;信号器。 2.动机,导火线 (for)。 3.预兆,征象。 call signal 【无线电】呼号。 an alarm signal 警报(器)。 an information signal 〔美国〕暴风警报(旗)。 an international code of signals 国际通用信号。 a signal of distress =a distress signal 船只失事信号。 adj. 1.暗号的,作信号用的。 2.显著的,非常的,优越的。 a signal victory [defeat] 大胜[败]。 vt.,vi. (〔英国〕 -ll-) 发信号[警报]给(人、船等);用信号[警报]通知(暴风、危险等);用动作[手势]示意;预示。 a signaling bomb 信号弹。 the signal: 诡信号a flu mask: 卫生口罩a gas mask: 防毒面具academy mask: 影艺学院遮片access mask: 存取屏蔽; 存取遮罩; 访问屏蔽位; 访问掩码address mask: 地址屏蔽; 地址掩码adjustable mask: 可调幕片; 可调屏蔽; 可调屏幕; 可调屏幛; 可调掩模affect mask: 影响遮罩affinity mask: 性遮罩